<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>鹿图旅游语音播报平台</title>
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
</head>
<body>
<s:form id="listForm" >
<s:hidden name="goodsClass" id="goodsClass"/>
		<s:if test="goodsClass==1">
		<s:set var="className" value="'景区'"></s:set>
		</s:if>
		<s:if test="goodsClass==2">
		<s:set var="className" value="'酒店'"></s:set>
		</s:if>
		<s:if test="goodsClass==3">
		<s:set var="className" value="'美食'"></s:set>
		</s:if>
		<s:if test="goodsClass==4">
		<s:set var="className" value="'购物'"></s:set>
		</s:if>
		<s:if test="goodsClass==5">
		<s:set var="className" value="'娱乐'"></s:set>
		</s:if>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="80px"><s:property value="#className"/>ID</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryId" />
		</td>
		<td class="queryTitle" width="80px"><s:property value="#className"/>名</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryName" />
		</td>
		<td class="queryTitle" width="80px">审核状态</td>
		<td class="queryContent">
		    <select id="queryState" name="queryState">
		    		<option value=""></option>
					<option value="1">审核通过</option>
					<option value="0">未审核</option>
			</select> 
			<!-- <input class="inputText" type="text" id="queryName" /> -->
		</td>
		<td class="queryBtnTd">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search"  onclick="doQuery()" id="doQuery">查询</a>
		</td>
	</tr>
</table>

<table id="goodsGrid"></table>
</s:form>

<div id="addDlg" class="easyui-window" title="" closed="true" style="width:1000px; height:auto;text-align:center; background: #fff;">
<div class="tabs-panels tabs-panels-noborder" style="height: 590px; width: 980px;" id="frameDiv">
<div class="panel" style="display: block; width: 980px;">
<div title="" class="panel-body panel-body-noheader panel-body-noborder" style="width: 980px; height: 590px;">
<iframe scrolling="auto" frameborder="0" id="addFrame" name="addFrame" src="${ctx }/webgoods/newGoodsInit.action?goodsClass=${goodsClass}" style="width: 100%; height: 100%;"></iframe>
</div>
</div>
</div>
</div>

<div id="editDlg" class="easyui-window" title="" closed="true" style="width:1000px; height:auto;text-align:center; background: #fff;">
<div class="tabs-panels tabs-panels-noborder" style="width: 980px;" id="frameDiv">
<div class="panel" style="display: block; width: 980px;">
<div title="" class="panel-body panel-body-noheader panel-body-noborder" style="width: 980px;">
<iframe scrolling="auto" frameborder="0" id="editFrame" name="editFrame" src="${ctx }/webgoods/editGoodsInit.action?goodsClass=${goodsClass}" style="width: 100%; height: 100%;"></iframe>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="${ctx }/js/goods/goods_list.js"></script>
</body>
</html>
